package com.longdaji.decoration.ui.comment;


import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.data.bean.Comment;

import java.util.List;

/**
 * Created by longtao on 2017/12/19.
 */

public interface CriticismContract {

    interface View extends BaseView {
        void showCommentList(List<Comment> commentList);

        void showCommentListNone();

        void showLikeSuccess(int position);

        void showLikeFail();

        void showDisLikeSuccess(int position);

        void showDisLikeFail();
    }

    interface Presenter extends BasePresenter<View> {
        void getCommentList(String goodId, String userId);

        void likeOrDislikeGoods(String userId, String commentId, String isLike, int position);

    }
}
